home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mastering Internet Develo…oft ActiveX Technologies
/
Mastering Internet Development with ActiveX (1996)(Microsoft).iso
/
labs
/
lab10.2
/
solution
/
echo.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-07-16
|
737b
|
29 lines
// ECHO.CPP - Implementation file for your Internet Server
// Echo Extension
class CEchoExtension : public CHttpServer
{
public:
CEchoExtension();
~CEchoExtension();
BOOL GetExtensionVersion(HSE_VERSION_INFO* pVer);
// TODO: Add handlers for your commands here.
// For example:
void Default(CHttpServerContext* pCtxt);
//Lab 10.2, ex 2 - Implementing Echo
void EchoRequest(CHttpServerContext* pCtxt, LPCTSTR pstrOption);
//Lab 10.2, ex 2 - Implementing Echo
//Implementation section
protected:
void EchoBody(CHttpServerContext* pCtxt);
void EchoHead(CHttpServerContext* pCtxt);
void BadSyntax(CHttpServerContext* pCtxt);
void EchoHelp(CHttpServerContext* pCtxt);
DECLARE_PARSE_MAP()
};